package com.hymjweb.demo.hymj.finance_manage.invoice_register.bean;

import com.hymjweb.demo.framework.util.pojoContrast.FieldMeta;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "cw_invoice_register")
@Data
public class CwInvoiceRegisterPojo implements Serializable {

    @FieldMeta(columnname = "id", name = "财务发票登记ID", comment = "财务发票登记ID")
    private String id;

    @FieldMeta(columnname = "delivery_customer_id", name = "发货客户ID", comment = "发货客户ID,关联b_customer.id")
    private String deliveryCustomerId;

    @FieldMeta(columnname = "invoice_amount", name = "开票金额", comment = "开票金额")
    private Double invoiceAmount;

    @FieldMeta(columnname = "open_invoice_company_id", name = "开票公司ID", comment = "开票公司ID,关联xt_dic.id,key=XT_DIC_OPEN_INVOICE_COMPANY")
    private Double openInvoiceCompanyId;

    @FieldMeta(columnname = "customer_invoice_id", name = "客户发票信息ID", comment = "客户发票ID,关联b_customer_invoice.id")
    private String customerInvoiceId;

    @FieldMeta(columnname = "invoice_title", name = "发票抬头", comment = "发票抬头")
    private String invoiceTitle;

    @FieldMeta(columnname = "taxpayer_identification_number", name = "纳税人识别号", comment = "纳税人识别号")
    private String taxpayerIdentificationNumber;

    @FieldMeta(columnname = "phone_number", name = "电话号码", comment = "电话号码")
    private String phoneNumber;

    @FieldMeta(columnname = "invoice_address", name = "地址", comment = "地址")
    private String invoiceAddress;

    @FieldMeta(columnname = "open_account_bank_id", name = "开户银行ID", comment = "开户银行ID,关联xt_bank.id")
    private String openAccountBankId;

    @FieldMeta(columnname = "bank_account", name = "银行账号", comment = "银行账号")
    private String bankAccount;

    @FieldMeta(columnname = "invoice_type_id", name = "发票类型ID", comment = "发票类型ID，关联xt_dic.id key=XT_DIC_INVOICE_TYPE")
    private Long invoiceTypeId;

    @FieldMeta(columnname = "rate_id", name = "税率ID", comment = "税率ID,关联xt_dic.id key=XT_DIC_INVOICE_RATE")
    private Long rateId;

    @FieldMeta(columnname = "recipient_name", name = "收件人名称", comment = "收件人名称")
    private String recipientName;

    @FieldMeta(columnname = "recipient_phone", name = "收件人电话", comment = "收件人电话")
    private String recipientPhone;

    @FieldMeta(columnname = "recipient_address", name = "收件人地址", comment = "收件人地址")
    private String recipientAddress;

    @FieldMeta(columnname = "create_time", name = "创建时间")
    private Date createTime;

    @FieldMeta(columnname = "create_user_id", name = "记录添加人ID", comment = "关联XT_USER.ID")
    private String createUserId;

    @FieldMeta(columnname = "update_time", name = "更新时间")
    private Date updateTime;

    @FieldMeta(columnname = "update_user_id", name = "更新用户ID", comment = "关联XT_USER.ID")
    private String updateUserId;
}
